package com.ityunhe.dao;

import java.util.List;

import com.ityunhe.bean.Car;
import com.ityunhe.bean.Complain;
/**
 * 投诉
 * @author Administrator
 *
 */

public interface ComplaintDao {
	/**
	 * 插入
	 */
	public  int save(Complain complaint);
	/**
	 * 删除
	 */
	public  int remove(Complain complaint);
	/**
	 * 修改
	 */
	public int update(Complain complaint);
	/**
	 * 查看
	 */
	public Complain getComplain(Complain complaint);
	/**
	 * 查看全部
	 */
	public  List<Complain> listComplain();

}
